4.5.1. Preconditions for Calendar Object Creation
CalWS:target-exists: The entity already exists.CalWS:not-calendar-data: The resource submittedMUSTbe a supported media type (i.e., iCalendar) for calendar object resources;CalWS:invalid-calendar-data: The resource submittedMUSTbe valid data for the media type being specified (i.e.,MUSTcontain valid iCalendar data);CalWS:invalid-calendar-object-resource: The resource submitted in the requestMUSTobey all restrictions specified in Calendar Object Resources (e.g., calendar object resourcesMUST NOTcontain more than one type of calendar component, calendar object resourcesMUST NOTspecify the iCalendarMETHODproperty, etc.);CalWS:unsupported-calendar-component: The resource submitted in the requestMUSTcontain a type of calendar component that is supported in the targeted calendar collection;CalWS:uid-conflict: The resource submitted in the requestMUST NOTspecify an iCalendar UID property value already in use in the targeted calendar collection or overwrite an existing calendar object resource with one that has a different UID property value. ServersSHOULDreport the URL of the resource that is already making use of the same UID property value in theCalWS:hrefelement<!ELEMENT uid-conflict (CalWS:href)>
CalWS:exceeds-max-resource-size: The resource submitted in the requestMUSThave an octet size less than or equal to the value of theCalDAV:max-resource-sizeproperty value on the calendar collection where the resource will be stored;CalWS:before-min-date-time: The resource submitted in the requestMUSThave all of its iCalendarDATEorDATE-TIMEproperty values (for each recurring instance) greater than or equal to the value of theCalDAV:min-date-timeproperty value on the calendar collection where the resource will be stored;CalWS:after-max-date-time: The resource submitted in the requestMUSThave all of its iCalendarDATEorDATE-TIMEproperty values (for each recurring instance) less than the value of theCalDAV:max-date-timeproperty value on the calendar collection where the resource will be stored;CalWS:too-many-instances: The resource submitted in the requestMUSTgenerate a number of recurring instances less than or equal to the value of theCalDAV: max-instancesproperty value on the calendar collection where the resource will be stored;CalWS:too-many-attendees-per-instance: The resource submitted in the requestMUSThave a number ofATTENDEEproperties on any one instance less than or equal to the value of theCalDAV:max-attendees-per-instanceproperty value on the calendar collection where the resource will be stored.